namespace STOWaybillMall.Core
{

    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using TongTongMall.Domain.Entities;
    using TongTongMall.Domain.Repositories.Attributes;
    using TongTongMall.MallWeb.Core.User.Models;

    [Table("UserBaseInfo")]
    public partial class UserBaseInfo : AggregateRoot<long>
    {
        [Identify]
        public long UserID { get; set; }

        [StringLength(32)]
        public string UserName { get; set; }

        [StringLength(15)]
        public string MobileNo { get; set; }

        [StringLength(100)]
        public string Email { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public UserStatusEnum UserStatus { get; set; }

        public byte? UserAttribute { get; set; }

        [StringLength(1024)]
        public string LoginPwd { get; set; }

        public byte? AccessoriesOption { get; set; }

        public byte[] PwdKey { get; set; }
    }
}
